import 'dart:ui';

import 'package:dio/dio.dart';
import 'package:flutter/services.dart';


class Const {
  static var gold = const Color(0xffecb654);
  static var black = const Color(0xff333333);
  static var gray = const Color(0xff999999);
  static var bar = const Color(0xff392E2F);
  static var blue = const Color(0xff1697d3);
  static var SIGN_IN = '17';
  static var SIGN_OUT = '18';
  static var PERSON_NUM = 'personNum';
  static var AREA_CODE = 'areacode';
  static var STUDY_MIN = 'studymin';
  static var UUID = 'bh';
  static var SUBJECT = 'subject';
  static var COURSE = 'course';
  static var PASS = 'pass';
  static var APPLE_STORE = 'itms-apps://itunes.apple.com/app/id1380512641';
  static const jumpPlugin = const MethodChannel('cn.zchope');
  static var UNSIGN = 1;
  static var UNBIND = 2;
  static var BIND = 0;
  static var EVENT_LOGIN = 'eventlogin';
  static var EVENT_BIND = 'eventbind';
  static var EVENT_LOCATION = 'eventlocation';

  static BaseOptions get = BaseOptions(
    baseUrl: BASEURL,
    method: 'GET',
//      headers: {'header': 'sss'},
    connectTimeout: 5000,
    receiveTimeout: 3000,
    responseType: ResponseType.plain,
  );

  static BaseOptions post = BaseOptions(
    baseUrl: BASEURL,
    method: 'POST',
    connectTimeout: 5000,
    receiveTimeout: 3000,
    responseType: ResponseType.plain,
  );
  static String Camera = '1';
  static String Picture = '2';
  static String COMPANYS = 'companys';
  static String TEACHERS = 'teachers';
  static String CARS = 'cars';
  static String STUDENTS1 = 'student1';
  static String STUDENTS2 = 'student2';
  static String STUDENTS3 = 'student3';

  static String BASEURL = 'https://zcjpms.xiaoluxueche.com/app/api/v1';
  static String BASEURL2 = 'https://zcjpms.xiaoluxueche.com';

//  static String TESTURL = 'http://192.168.1.132:8080';
  static String UPDATEURL = 'http://192.168.1.132:8081';
  static String TESTURL = 'http://47.92.209.12:9002';

  static bool isDebug = true;
  static String CHANNEL = 'getData4Flutter';
  static String UPGRADE = 'upgrade';



}
